package com.xtoneict.auth.service.impl;

import com.xtoneict.auth.entity.Employee;
import com.xtoneict.auth.mapper.EmployeeMapper;
import com.xtoneict.auth.service.IEmployeeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hx
 * @since 2024-06-18
 */
@Service
public class EmployeeServiceImpl extends ServiceImpl<EmployeeMapper, Employee> implements IEmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;
    @Override
    public Employee getByName(String name) {
        Employee employee = employeeMapper.getByName(name);
        return employee;
    }
}
